/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ni;

import java.io.*;
import java.net.Socket;

/**
 *
 * @author Marianne Bellanger
 */
public class Uploader {
    private Socket sock;

    public Uploader (Socket sock) throws IOException{
        this.sock = sock;
    }

    public void send (byte[] message) throws IOException{
        sock.getOutputStream().write(message);
    }

}
